package com.worklight.androidgap;

import android.content.Context;
import android.webkit.WebView;

/**
 * Custom WebView to overcome the timers problem that stuck the application
 * Come to bug on HTC 2.1 
 * @author ishaib
 *
 */
public class WLWebView extends WebView{

	public WLWebView(Context context) {
		super(context);
	}
	
	public void pauseTimers() {
		//Do nothing 
	}
	
	/**
	 * This method is with different signature in order to stop the timers while move application to background
	 * @param realPause
	 */
	public void pauseTimers(@SuppressWarnings("unused") boolean realPause) {
		super.pauseTimers();
	}
}

